<?php

$rds = [
	'class' => 'yii\db\Connection',
	'dsn' => 'mysql:host=39.105.55.52;dbname=scrm_base',
	'username' => 'root',
	'password' => '123456',
	'charset' => 'utf8',
];
$local = [
	'class' => 'yii\db\Connection',
	'dsn' => 'mysql:host=localhost;dbname=scrm_base',
	'username' => 'root',
	'password' => 'root',
	'charset' => 'utf8',
];

if (IS_DEV) {
    return $local;
} else {
    return $rds;
}
